* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Roboto", sans-serif;
  background: #000;
  background: linear-gradient(to top right, #5139cf, #46baca);
}

.onboarding {
  --page-number: 1;
  zoom: 0.9;
}
.onboarding {
  height: 640px;
  width: 360px;
  border-radius: 10px;
  overflow: hidden;
}
.onboarding .slider {
  width: 300%;
  height: 100%;
  display: flex;
  background-color: #fff;
  margin-left: calc(-360px * (var(--page-number) - 1));
  transition: margin-left 400ms;
}
.onboarding .slider .slide {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.onboarding .slider .slide h1 {
  margin: 70px 0 40px 0;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 0.25em;
  color: #00bcc2;
}
.onboarding .slider .slide img, .onboarding .slider .slide .img {
  transform: scale(0.7);
  margin-bottom: 20px;
}
.onboarding .slider .slide .img {
  height: 240px;
  width: 320px;
  background-image: url(https://cdn.dribbble.com/users/622814/screenshots/3373149/attachments/733934/appicons__3.png);
  background-repeat: no-repeat;
}
.onboarding .slider .slide .img.chat-bubbles {
  background-size: 500%;
  background-position: 10% 41%;
  position: relative;
  left: -40px;
}
.onboarding .slider .slide .img.swords {
  background-size: 400%;
  background-position: 50% 41%;
}
.onboarding .slider .slide .img.brain-bulb {
  background-size: 500%;
  background-position: 90% 41%;
  position: relative;
  left: 40px;
}
.onboarding .slider .slide p {
  margin: 20px;
  max-width: 250px;
  font-size: 16px;
  font-size: 19px;
  line-height: 1.5em;
  text-align: center;
  color: #9e9e9e;
}
.onboarding .controls {
  --h: 167px;
  height: var(--h);
  margin-top: calc(var(--h) * -1);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.onboarding .controls form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 20px;
}
.onboarding .controls form input[type=radio] {
  outline: none;
  margin: 20px 5px;
  opacity: 0;
}
.onboarding .controls form input[type=radio] + label {
  position: relative;
  top: -1px;
  left: -17px;
  height: 10px;
  width: 10px;
  border-radius: 100%;
  border: 1px solid #ced7e6;
  transition: border 300ms, background 300ms;
}
.onboarding .controls form input[type=radio]:checked + label {
  border: 1px solid #68e0e3;
  background-color: #68e0e3;
}
.onboarding .controls a.btn-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  height: 65px;
  background: #02C1C5;
  color: white;
  font-family: sans-serif;
  font-size: 18px;
  text-decoration: none;
}

.thumbnail {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url("https://s9.postimg.org/mv4hbyhhr/thumbnail.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: none;
}

@media screen and (max-width: 400px) {
  .thumbnail {
    display: block;
  }
}
.img.bubbles {
  height: 200px;
}

.toast {
  padding: 20px;
  background-color: #212121;
  color: white;
  position: fixed;
  bottom: 20px;
  right: 20px;
}
.toast a {
  margin-left: 4px;
  text-decoration: none;
  color: #abcdef;
}